Skip to main content

badgeLabel

Type

property

Summary

Specifies the text shown in the Badge.

Syntax

set the badgeLabel of widget to {<string>}
get the badgeLabel of widget

Description

Use the badgeLabel property to specify the text shown in the badge.

Examples

set the badgeLabel of widget "Circle Avatar" to "100"
set the badgeLabel of widget "Circle Avatar" to "Alert"

Compatibility and Support

OS

mac

windows

linux

ios

android

web

Platforms

desktop

mobile

web